Resource Manager

Introduction

The Resource Manager provides routines that allow your application to create, delete, open, read, modify, and write resources; get information about them; and alter the Resource Manager’s search path. A resource is data of any kind stored in a defined format in a file’s resource fork. The Resource Manager keeps track of resources in memory. You typically use resources to store the descriptions for user interface elements such as menus, windows, controls, dialog boxes, and icons. In addition, your application can store variable settings, such as the location of a window at the time the user closes the window, in a resource. When the user opens the document again, your application can read the information in the resource and restore the window to its previous location.